export default {

  state: {
    lang: 'zh'
  },

  getters: {

    getLang: state => state.lang

  },
  mutations: {

    //set方法

    setLang(state, lang) {

      state.lang = lang

    }

  }

}